package com.cckj.projectapi.demo.controller;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
public class Entity implements Serializable {

    private static final long serialVersionUID = 2285166969963400075L;

    @NotNull(message = "名字不能为空")
    private String name;

    @NotNull(message = "age不能为空")
    private String age;


    private String haha;
}
